package com.xgk.boot.module.core.dal.entity.product;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xgk.boot.framework.mybatis.core.dataobject.BaseNoDO;
import lombok.Data;

@Data
@TableName("product_customer")
public class ProductCustomerDO extends BaseNoDO {
    /**
     * 自动增长列
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 客户id
     */
    @TableField("c_id")
    private Long customerId;
    /**
     * 客户code
     */
    @TableField("c_code")
    private String customerCode;


    /**
     * 商品id
     */
    @TableField("p_id")
    private Long productId;

    @TableField("p_code")
    private String productCode;

}
